package com.lxz.ob_shape_print;

public class BaseShape implements Shape {
    protected String name;

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void draw() {
        System.out.println("基础图形");
    }

    public String getName() {
        return name;
    }
}
